package restaurant.gui.simulation;

import java.awt.FlowLayout;

import javax.swing.JButton;
import javax.swing.JPanel;

/**
 * This JPanel contains the buttons to start and stop the simulation.
 * 
 * @author Odessa
 */
@SuppressWarnings("serial")
public class ButtonsPanel extends JPanel
{

	/**
	 * Creates the panel and adds two JButtons.
	 */
	public ButtonsPanel() {
		FlowLayout layout = (FlowLayout) getLayout();
		layout.setVgap(10);
		layout.setHgap(10);

		JButton startButton = new JButton("Start");
		startButton.setToolTipText("Click to start simulation");
		add(startButton);

		JButton stopButton = new JButton("Stop");
		stopButton.setToolTipText("Click to stop simulation");
		add(stopButton);
	}

}
